home *** CD-ROM | disk | FTP | other *** search
- Path: godzilla.zeta.org.au!abruno
- From: abruno@godzilla.zeta.org.au (Andrew Bruno)
- Newsgroups: comp.sys.amiga.programmer
- Subject: Help with AREXX problem.
- Date: 5 Jan 1996 11:48:29 GMT
- Organization: Kralizec Dialup Unix
- Message-ID: <4cj36d$v5v@gidora.kralizec.net.au>
- NNTP-Posting-Host: godzilla.zeta.org.au
- X-Newsreader: TIN [version 1.2 PL2]
-
- Help!
- Here is two little scripts I wrote for a program/H/W device called
- airlink that I
- have.
-
- Below is a list of a test script I put together to see where I could
- position the
- transmitter.....
-
- IT WORKS!
-
- /* Sanyo test script for AirLink */
- loop:
- j = 0
- do while j < 1000
- j = j+1
- end
- say 'beep' /* this should be a &h07, but the editor doesn't like
- that */
- address national
- 'output ir<power>'
- signal loop
- /* the end */
-
-
- Now I wanted to write a program so I can execute functions from other
- programs,
- and wrote this as a "macro" kind of thing.....
-
-
- /* Arexx script for use with Scala and Airlink. */
-
- options results
- PARSE ARG blah1" "blah2
-
- say blah1
- say blah2
-
- address blah1
- 'output ir<'blah2'>'
-
- exit
-
- /* the end */
-
-
- I think you can see what I am wanting to do here.... It is rather simple.
-
- IT DOESN'T WORK!
-
- Yes, the host environment is there.
-
- I can even run the top script, stop it and run the lower one and it
- doesn't work.
-
- The lines say blah1 and say blah2 are only so I could check it was
- being accepted
- correctly.
-
-
- Any ideas?
-
- Andrew
-
- (p.s. As I am not always here to read the replies, could you reply
- direct to me?)
-
- TIA
-
-